// @ts-ignore
const app=getApp()
Page({
    data: {},
   async getUserInfo(){
        try {
            const getuserinfo=await wx.getUserProfile({desc:"展示信息列表"})
            app.globalData.userInfo=getuserinfo.userInfo
            await wx.reLaunch({
                url:"../home/home"
            })
        }catch (e){
            await wx.openSetting()
        }
    }

});